<?php

namespace app\admin\validate;

use think\Validate;

class UserValidate extends Validate
{
    protected $rule = [
        'name' => 'require',
        'username' => 'require',
    ];

    protected $msg = [
        'name.require' => '名称不能为空',
        'username.require' => '名称不能为空'
    ];
}
